package com.hero.power.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hero.power.entity.PowerBank;
import com.hero.power.vo.PowerBankVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PowerBankMapper extends BaseMapper<PowerBank> {

    /**
     * 根据站点ID查询充电宝数量
     * @param siteId 站点ID
     * @return
     */
    List<PowerBankVo> findNums(@Param("siteId") Integer siteId);

}
